package com.dd.stack.sql.optimize.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 医生信息表
 * </p>
 *
 * @author liuxianmeng
 * @since 2025-08-12
 */
@Getter
@Setter
@TableName("doctor")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 医生ID，主键
     */
    @TableId(value = "doc_id", type = IdType.AUTO)
    private Integer docId;

    /**
     * 医生姓名
     */
    private String docName;

    /**
     * 所属科室ID，外键
     */
    private Integer deptId;

    /**
     * 职称（住院医师/专家等）
     */
    private String docTitle;

    /**
     * 薪资
     */
    private BigDecimal docSalary;

    /**
     * 入职日期
     */
    private LocalDate docHireDate;
}
